package com.genexususa.eo.bing.test.add;

import com.genexususa.eo.bing.connection.KeywordManager;
import com.genexususa.eo.bing.data.Util;
import com.genexususa.eo.bing.test.TestUtil;

public class ConsumeAddKeywords {
    public static void main(String[] args) {
        TestUtil testUtil = new TestUtil();

        String keywordsRequestsXML =    "<Bing_KeywordsRequestCollection xmlns=\"L2TMediaDev\">\n" +
                                            "\t<Bing_KeywordsRequest xmlns=\"L2TMediaDev\">\n" +
                                                "\t\t<GxCampaignId>45616011</GxCampaignId>\n" +
                                                "\t\t<BingCampaignId>" + testUtil.campaignId1 + "</BingCampaignId>\n" +
                                                "\t\t<KeywordsAdGroupRequestCollection>\n" +
                                                    "\t\t\t<KeywordsAdGroupRequest>\n" +
                                                        "\t\t\t\t<GxAdGroupId>452315612</GxAdGroupId>\n" +
                                                        "\t\t\t\t<BingAdGroupId>" + testUtil.adGroup11 + "</BingAdGroupId>\n" +
                                                        "\t\t\t\t<KeywordCollection>\n" +
                                                            "\t\t\t\t\t<Keyword>\n" +
                                                                "\t\t\t\t\t\t<Bid xmlns=\"https://adcenter.microsoft.com/v8\">\n" +
                                                                    "\t\t\t\t\t\t\t<Amount>730.00</Amount>\n" +
                                                                "\t\t\t\t\t\t</Bid>\n" +
                                                                "\t\t\t\t\t\t<EditorialStatus xmlns=\"https://adcenter.microsoft.com/v8\"/>\n" +
                                                                "\t\t\t\t\t\t<GxKeywordId xmlns=\"https://adcenter.microsoft.com/v8\">4564891652</GxKeywordId>\n" +
                                                                "\t\t\t\t\t\t<BingKeywordId xmlns=\"https://adcenter.microsoft.com/v8\">0</BingKeywordId>\n" +
                                                                "\t\t\t\t\t\t<MatchType xmlns=\"https://adcenter.microsoft.com/v8\">E</MatchType>\n" +
                                                                "\t\t\t\t\t\t<NegativeKeywordCollection xmlns=\"https://adcenter.microsoft.com/v8\">\n" +
                                                                    "\t\t\t\t\t\t\t<NegativeKeyword>negative1</NegativeKeyword>\n" +
                                                                    "\t\t\t\t\t\t\t<NegativeKeyword>negative2</NegativeKeyword>\n" +
                                                                "\t\t\t\t\t\t</NegativeKeywordCollection>\n" +
                                                                "\t\t\t\t\t\t<Param1 xmlns=\"https://adcenter.microsoft.com/v8\">param1</Param1>\n" +
                                                                "\t\t\t\t\t\t<Param2 xmlns=\"https://adcenter.microsoft.com/v8\">param2</Param2>\n" +
                                                                "\t\t\t\t\t\t<Param3 xmlns=\"https://adcenter.microsoft.com/v8\">param3</Param3>\n" +
                                                                "\t\t\t\t\t\t<Status xmlns=\"https://adcenter.microsoft.com/v8\">A</Status>\n" +
                                                                "\t\t\t\t\t\t<Text xmlns=\"https://adcenter.microsoft.com/v8\">Texto</Text>\n" +
                                                            "\t\t\t\t\t</Keyword>\n" +
                                                            "\t\t\t\t\t<Keyword>\n" +
                                                                "\t\t\t\t\t\t<EditorialStatus xmlns=\"https://adcenter.microsoft.com/v8\"/>\n" +
                                                                "\t\t\t\t\t\t<Bid xmlns=\"https://adcenter.microsoft.com/v8\">\n" +
                                                                    "\t\t\t\t\t\t\t<Amount>525.00</Amount>\n" +
                                                                "\t\t\t\t\t\t</Bid>\n" +
                                                                "\t\t\t\t\t\t<GxKeywordId xmlns=\"https://adcenter.microsoft.com/v8\">4564891653</GxKeywordId>\n" +
                                                                "\t\t\t\t\t\t<BingKeywordId xmlns=\"https://adcenter.microsoft.com/v8\">0</BingKeywordId>\n" +
                                                                "\t\t\t\t\t\t<MatchType xmlns=\"https://adcenter.microsoft.com/v8\">B</MatchType>\n" +
                                                                "\t\t\t\t\t\t<NegativeKeywordCollection xmlns=\"https://adcenter.microsoft.com/v8\">\n" +
                                                                    "\t\t\t\t\t\t\t<NegativeKeyword>negative12</NegativeKeyword>\n" +
                                                                    "\t\t\t\t\t\t\t<NegativeKeyword>negative22</NegativeKeyword>\n" +
                                                                "\t\t\t\t\t\t</NegativeKeywordCollection>\n" +
                                                                "\t\t\t\t\t\t<Param1 xmlns=\"https://adcenter.microsoft.com/v8\">param12</Param1>\n" +
                                                                "\t\t\t\t\t\t<Param2 xmlns=\"https://adcenter.microsoft.com/v8\">param22</Param2>\n" +
                                                                "\t\t\t\t\t\t<Param3 xmlns=\"https://adcenter.microsoft.com/v8\">param32</Param3>\n" +
                                                                "\t\t\t\t\t\t<Status xmlns=\"https://adcenter.microsoft.com/v8\">A</Status>\n" +
                                                                "\t\t\t\t\t\t<Text xmlns=\"https://adcenter.microsoft.com/v8\">Texto2</Text>\n" +
                                                            "\t\t\t\t\t</Keyword>\n" +
                                                        "\t\t\t\t</KeywordCollection>\n" +
                                                    "\t\t\t</KeywordsAdGroupRequest>\n" +
                                                "\t\t</KeywordsAdGroupRequestCollection>\n" +
                                            "\t</Bing_KeywordsRequest>\n" +
                                            "\t<Bing_KeywordsRequest xmlns=\"L2TMediaDev\">\n" +
                                                "\t\t<GxCampaignId>45616012</GxCampaignId>\n" +
                                                "\t\t<BingCampaignId>" + testUtil.campaignId1 + "</BingCampaignId>\n" +
                                                "\t\t<KeywordsAdGroupRequestCollection>\n" +
                                                    "\t\t\t<KeywordsAdGroupRequest>\n" +
                                                        "\t\t\t\t<GxAdGroupId>452315613</GxAdGroupId>\n" +
                                                        "\t\t\t\t<BingAdGroupId>" + testUtil.adGroup12 + "</BingAdGroupId>\n" +
                                                        "\t\t\t\t<KeywordCollection>\n" +
                                                            "\t\t\t\t\t<Keyword>\n" +
                                                            "\t\t\t\t\t\t<Bid xmlns=\"https://adcenter.microsoft.com/v8\">\n" +
                                                                "\t\t\t\t\t\t\t<Amount>42.00</Amount>\n" +
                                                            "\t\t\t\t\t\t</Bid>\n" +
                                                            "\t\t\t\t\t\t<EditorialStatus xmlns=\"https://adcenter.microsoft.com/v8\"/>\n" +
                                                            "\t\t\t\t\t\t<GxKeywordId xmlns=\"https://adcenter.microsoft.com/v8\">4564891652</GxKeywordId>\n" +
                                                            "\t\t\t\t\t\t<BingKeywordId xmlns=\"https://adcenter.microsoft.com/v8\">0</BingKeywordId>\n" +
                                                            "\t\t\t\t\t\t<NegativeKeywordCollection xmlns=\"https://adcenter.microsoft.com/v8\">\n" +
                                                                "\t\t\t\t\t\t\t<NegativeKeyword>negative13</NegativeKeyword>\n" +
                                                                "\t\t\t\t\t\t\t<NegativeKeyword>negative23</NegativeKeyword>\n" +
                                                            "\t\t\t\t\t\t</NegativeKeywordCollection>\n" +
                                                            "\t\t\t\t\t\t<Param1 xmlns=\"https://adcenter.microsoft.com/v8\">param13</Param1>\n" +
                                                            "\t\t\t\t\t\t<Param2 xmlns=\"https://adcenter.microsoft.com/v8\">param23</Param2>\n" +
                                                            "\t\t\t\t\t\t<Param3 xmlns=\"https://adcenter.microsoft.com/v8\">param33</Param3>\n" +
                                                            "\t\t\t\t\t\t<Status xmlns=\"https://adcenter.microsoft.com/v8\">A</Status>\n" +
                                                            "\t\t\t\t\t\t<Text xmlns=\"https://adcenter.microsoft.com/v8\">Texto3</Text>\n" +
                                                        "\t\t\t\t\t</Keyword>\n" +
                                                        "\t\t\t\t\t<Keyword>\n" +
                                                                "\t\t\t\t\t\t<EditorialStatus xmlns=\"https://adcenter.microsoft.com/v8\"/>\n" +
                                                                "\t\t\t\t\t\t<Bid xmlns=\"https://adcenter.microsoft.com/v8\">\n" +
                                                                    "\t\t\t\t\t\t\t<Amount>58.00</Amount>\n" +
                                                                "\t\t\t\t\t\t</Bid>\n" +
                                                                "\t\t\t\t\t\t<GxKeywordId xmlns=\"https://adcenter.microsoft.com/v8\">4564891653</GxKeywordId>\n" +
                                                                "\t\t\t\t\t\t<BingKeywordId xmlns=\"https://adcenter.microsoft.com/v8\">0</BingKeywordId>\n" +
                                                                "\t\t\t\t\t\t<NegativeKeywordCollection xmlns=\"https://adcenter.microsoft.com/v8\">\n" +
                                                                    "\t\t\t\t\t\t\t<NegativeKeyword>negative14</NegativeKeyword>\n" +
                                                                    "\t\t\t\t\t\t\t<NegativeKeyword>negative24</NegativeKeyword>\n" +
                                                                "\t\t\t\t\t\t</NegativeKeywordCollection>\n" +
                                                                "\t\t\t\t\t\t<Param1 xmlns=\"https://adcenter.microsoft.com/v8\">param14</Param1>\n" +
                                                                "\t\t\t\t\t\t<Param2 xmlns=\"https://adcenter.microsoft.com/v8\">param24</Param2>\n" +
                                                                "\t\t\t\t\t\t<Param3 xmlns=\"https://adcenter.microsoft.com/v8\">param34</Param3>\n" +
                                                                "\t\t\t\t\t\t<Status xmlns=\"https://adcenter.microsoft.com/v8\">A</Status>\n" +
                                                                "\t\t\t\t\t\t<Text xmlns=\"https://adcenter.microsoft.com/v8\">Texto4</Text>\n" +
                                                            "\t\t\t\t\t</Keyword>\n" +
                                                        "\t\t\t\t</KeywordCollection>\n" +
                                                    "\t\t\t</KeywordsAdGroupRequest>\n" +
                                                "\t\t</KeywordsAdGroupRequestCollection>\n" +
                                            "\t</Bing_KeywordsRequest>\n" +
                                        "</Bing_KeywordsRequestCollection>\n";

        /*keywordsRequestsXML =   "<Bing_KeywordsRequestCollection xmlns=\"L2TMediaDev\">\n" +
                                "\t<Bing_KeywordsRequest xmlns=\"L2TMediaDev\">\n" +
                                "\t\t<GxCampaignId>45616012</GxCampaignId>\n" +
                                "\t\t<BingCampaignId>" + testUtil.campaignId1 + "</BingCampaignId>\n" +
                                "\t\t<KeywordsAdGroupRequestCollection>\n" +
                                "\t\t\t<KeywordsAdGroupRequest>\n" +
                                "\t\t\t\t<GxAdGroupId>452315613</GxAdGroupId>\n" +
                                "\t\t\t\t<BingAdGroupId>" + testUtil.adGroup11 + "</BingAdGroupId>\n" +
                                "\t\t\t\t<KeywordCollection>\n" +

                "<Keyword>\n" +
                "          <Bid>\n" +
                "            <Amount>42</Amount>\n" +
                "          </Bid>\n" +
                "          <DestinationUrl>www.yahoo.com</DestinationUrl>\n" +
                "          <GxKeywordId>12345678</GxKeywordId>\n" +
                "          <MatchType>Exact</MatchType>\n" +
                "          <Param1>param1</Param1>\n" +
                "          <Param2>param2</Param2>\n" +
                "          <Param3>param3</Param3>\n" +
                "          <Status>Active</Status>\n" +
                "          <Text>This is a keyword " + Math.random() +"</Text>\n" +
                "        </Keyword>"+

                "<Keyword>\n" +
                "          <Bid>\n" +
                "            <Amount>42</Amount>\n" +
                "          </Bid>\n" +
                "          <DestinationUrl>www.yahoo.com</DestinationUrl>\n" +
                "          <GxKeywordId>12345678</GxKeywordId>\n" +
                "          <MatchType>Exact</MatchType>\n" +
                "          <Param1>param1</Param1>\n" +
                "          <Param2>param2</Param2>\n" +
                "          <Param3>param3</Param3>\n" +
                "          <Status>Active</Status>\n" +
                "          <Text>This is a keyword " + Math.random() +"</Text>\n" +
                "        </Keyword>"+

                                //generateKeywords(1)+
                                "\t\t\t\t</KeywordCollection>\n" +
                                "\t\t\t</KeywordsAdGroupRequest>\n" +

                "\t\t\t<KeywordsAdGroupRequest>\n" +
                "\t\t\t\t<GxAdGroupId>452315613</GxAdGroupId>\n" +
                "\t\t\t\t<BingAdGroupId>" + testUtil.adGroup12 + "</BingAdGroupId>\n" +
                "\t\t\t\t<KeywordCollection>\n" +

                "<Keyword>\n" +
                "          <Bid>\n" +
                "            <Amount>42</Amount>\n" +
                "          </Bid>\n" +
                "          <DestinationUrl>www.yahoo.com</DestinationUrl>\n" +
                "          <GxKeywordId>12345678</GxKeywordId>\n" +
                "          <MatchType>Exact</MatchType>\n" +
                "          <Param1>param1</Param1>\n" +
                "          <Param2>param2</Param2>\n" +
                "          <Param3>param3</Param3>\n" +
                "          <Status>Active</Status>\n" +
                "          <Text>This is a keyword " + Math.random() +"</Text>\n" +
                "        </Keyword>"+

                "<Keyword>\n" +
                "          <Bid>\n" +
                "            <Amount>42</Amount>\n" +
                "          </Bid>\n" +
                "          <DestinationUrl>www.yahoo.com</DestinationUrl>\n" +
                "          <GxKeywordId>12345678</GxKeywordId>\n" +
                "          <MatchType>Exact</MatchType>\n" +
                "          <Param1>param1</Param1>\n" +
                "          <Param2>param2</Param2>\n" +
                "          <Param3>param3</Param3>\n" +
                "          <Status>Active</Status>\n" +
                "          <Text>This is a keyword " + Math.random() +"</Text>\n" +
                "        </Keyword>"+

                //generateKeywords(1)+
                "\t\t\t\t</KeywordCollection>\n" +
                "\t\t\t</KeywordsAdGroupRequest>\n" +

                                "\t\t</KeywordsAdGroupRequestCollection>\n" +
                                "\t</Bing_KeywordsRequest>\n" +
                                "</Bing_KeywordsRequestCollection>\n";*/

        String xml = testUtil.fileToString("C:\\L2TReportsBing\\addKeywords.xml");
        KeywordManager resource = new KeywordManager();
        System.out.println("Consuming AddKeywords.....");
        String userName = testUtil.userName;
        String password = testUtil.password;
        String developerToken = testUtil.developerToken;
        long customerId = testUtil.customerId;
        long customerAccountId = testUtil.testAccountEmiliano;
        String applicationId = testUtil.applicationId;

        String result = resource.addKeywords(customerAccountId, xml);
        System.out.println("Result:\n" + result);
    }


    private static String getKeywords(int startNum){

        TestUtil testUtil = new TestUtil();

        String k = "<Bing_KeywordsRequestCollection xmlns=\"L2TMediaDev_L2T1.51\">\n" +
                "\t<Bing_KeywordsRequest xmlns=\"L2TMediaDev_L2T1.51\">\n" +
                "\t\t<GxCampaignId>2928</GxCampaignId>\n" +
                "\t\t<BingCampaignId>" + testUtil.campaignIdEmiliano + "</BingCampaignId>\n" +
                "\t\t<KeywordsAdGroupRequestCollection>\n" +
                "\t\t\t<KeywordsAdGroupRequest>\n" +
                "\t\t\t\t<GxAdGroupId>23563</GxAdGroupId>\n" +
                "\t\t\t\t<BingAdGroupId>" + testUtil.adGroupEmiliano + "</BingAdGroupId>\n" +
                "\t\t\t\t<KeywordCollection>\n" +
                "\t\t\t\t\t<Keyword>\n" +
                "\t\t\t\t\t\t<EditorialStatus xmlns=\"https://adcenter.microsoft.com/v8\"/>\n" +
                "\t\t\t\t\t\t<ExactMatchBid xmlns=\"https://adcenter.microsoft.com/v8\">\n" +
                "\t\t\t\t\t\t\t<Amount>5.00</Amount>\n" +
                "\t\t\t\t\t\t</ExactMatchBid>\n" +
                "\t\t\t\t\t\t<GxKeywordId xmlns=\"https://adcenter.microsoft.com/v8\">1454944</GxKeywordId>\n" +
                "\t\t\t\t\t\t<BingKeywordId xmlns=\"https://adcenter.microsoft.com/v8\">0</BingKeywordId>\n" +
                "\t\t\t\t\t\t<Param1 xmlns=\"https://adcenter.microsoft.com/v8\"/>\n" +
                "\t\t\t\t\t\t<Param2 xmlns=\"https://adcenter.microsoft.com/v8\"/>\n" +
                "\t\t\t\t\t\t<Param3 xmlns=\"https://adcenter.microsoft.com/v8\"/>\n" +
                "\t\t\t\t\t\t<Status xmlns=\"https://adcenter.microsoft.com/v8\">A</Status>\n" +
                "\t\t\t\t\t\t<Text xmlns=\"https://adcenter.microsoft.com/v8\">2014 Bugatti</Text>\n" +
                "\t\t\t\t\t</Keyword>\n" +
                "\t\t\t\t</KeywordCollection>\n" +
                "\t\t\t</KeywordsAdGroupRequest>\n" +
                "\t\t</KeywordsAdGroupRequestCollection>\n" +
                "\t</Bing_KeywordsRequest>\n" +
                "</Bing_KeywordsRequestCollection>";



        String keywords = "<Bing_KeywordsRequestCollection xmlns=\"L2TMediaDev\">\n" +
                "\t<Bing_KeywordsRequest xmlns=\"L2TMediaDev\">\n" +
                "\t\t<GxCampaignId>45616011</GxCampaignId>\n" +
                "\t\t<BingCampaignId>" + testUtil.campaignIdEmiliano + "</BingCampaignId>\n" +
                "\t\t<KeywordsAdGroupRequestCollection>\n" +
                "\t\t\t<KeywordsAdGroupRequest>\n" +
                "\t\t\t\t<GxAdGroupId>452315612</GxAdGroupId>\n" +
                "\t\t\t\t<BingAdGroupId>" + testUtil.adGroupEmiliano + "</BingAdGroupId>\n" +
                "\t\t\t\t<KeywordCollection>\n" +
                "\t\t\t\t\t<Keyword>\n" +
                "\t\t\t\t\t\t<ExactMatchBid xmlns=\"https://adcenter.microsoft.com/v8\">\n" +
                "\t\t\t\t\t\t\t<Amount>5.00</Amount>\n" +
                "\t\t\t\t\t\t</ExactMatchBid>\n" +
                "\t\t\t\t\t\t<EditorialStatus/>\n" +
                "\t\t\t\t\t\t<GxKeywordId >4564891652</GxKeywordId>\n" +
                "\t\t\t\t\t\t<BingKeywordId>0</BingKeywordId>\n" +
                "\t\t\t\t\t\t<MatchType>E</MatchType>\n" +
                "\t\t\t\t\t\t<Param1>param1 #" + startNum + "</Param1>\n" +
                "\t\t\t\t\t\t<Param2>param2 #" + startNum + "</Param2>\n" +
                "\t\t\t\t\t\t<Param3>param3 #" + startNum + "</Param3>\n" +
                "\t\t\t\t\t\t<Status>A</Status>\n" +
                "\t\t\t\t\t\t<Text>Keyword #"+ startNum +"</Text>\n" +
                "\t\t\t\t\t</Keyword>\n" +
                "\t\t\t\t\t<Keyword>\n" +
                "\t\t\t\t\t\t<EditorialStatus/>\n" +
                "\t\t\t\t\t\t<Bid xmlns=\"https://adcenter.microsoft.com/v8\">\n" +
                "\t\t\t\t\t\t\t<Amount>5.00</Amount>\n" +
                "\t\t\t\t\t\t</Bid>\n" +
                "\t\t\t\t\t\t<GxKeywordId>4564891653</GxKeywordId>\n" +
                "\t\t\t\t\t\t<BingKeywordId>0</BingKeywordId>\n" +
                "\t\t\t\t\t\t<MatchType>E</MatchType>\n" +
                "\t\t\t\t\t\t<Param1>param1 #" + (startNum + 1) + "</Param1>\n" +
                "\t\t\t\t\t\t<Param2>param2 #" + (startNum + 1) + "</Param2>\n" +
                "\t\t\t\t\t\t<Param3>param3 #" + (startNum + 1) + "</Param3>\n" +
                "\t\t\t\t\t\t<Status>A</Status>\n" +
                "\t\t\t\t\t\t<Text>Keyword #"+ (startNum + 1) +"</Text>\n" +
                "\t\t\t\t\t</Keyword>\n" +
                "\t\t\t\t</KeywordCollection>\n" +
                "\t\t\t</KeywordsAdGroupRequest>\n" +
                "\t\t</KeywordsAdGroupRequestCollection>\n" +
                "\t</Bing_KeywordsRequest>\n" +
                "</Bing_KeywordsRequestCollection>\n";

             return keywords;

    }

    private static String generateKeywords(int num) {
        String keywords = "<Keyword>\n" +
                "          <Bid>\n" +
                "            <Amount>42</Amount>\n" +
                "          </Bid>\n" +
                "          <DestinationUrl>www.yahoo.com</DestinationUrl>\n" +
                "          <GxKeywordId>12345678</GxKeywordId>\n" +
                "          <MatchType>Exact</MatchType>\n" +
                "          <Param1>param1</Param1>\n" +
                "          <Param2>param2</Param2>\n" +
                "          <Param3>param3</Param3>\n" +
                "          <Status>Active</Status>\n" +
                "          <Text>This is a keyword " + Math.random() +"</Text>\n" +
                "        </Keyword>";

        keywords += "<Keyword>\n" +
                "          <Bid>\n" +
                "            <Amount>42</Amount>\n" +
                "          </Bid>\n" +
                "          <DestinationUrl>www.yahoo.com</DestinationUrl>\n" +
                "          <GxKeywordId>12345678</GxKeywordId>\n" +
                "          <MatchType>Exact</MatchType>\n" +
                "          <Param1>param1</Param1>\n" +
                "          <Param2>param2</Param2>\n" +
                "          <Param3>param3</Param3>\n" +
                "          <Status>Active</Status>\n" +
                "          <Text>This is a keyword " + Math.random() +"</Text>\n" +
                "        </Keyword>";
        keywords += "<Keyword>\n" +
                "          <Bid>\n" +
                "            <Amount>42</Amount>\n" +
                "          </Bid>\n" +
                "          <DestinationUrl>www.yahoo.com</DestinationUrl>\n" +
                "          <GxKeywordId>12345678</GxKeywordId>\n" +
                "          <MatchType>Exact</MatchType>\n" +
                "          <Param1>param1</Param1>\n" +
                "          <Param2>param2</Param2>\n" +
                "          <Param3>param3</Param3>\n" +
                "          <Status>Active</Status>\n" +
                "          <Text>This is a keyword " + Math.random() +"</Text>\n" +
                "        </Keyword>";
        keywords += "<Keyword>\n" +
                "          <Bid>\n" +
                "            <Amount>42</Amount>\n" +
                "          </Bid>\n" +
                "          <DestinationUrl>www.yahoo.com</DestinationUrl>\n" +
                "          <GxKeywordId>12345678</GxKeywordId>\n" +
                "          <MatchType>Exact</MatchType>\n" +
                "          <Param1>param1</Param1>\n" +
                "          <Param2>param2</Param2>\n" +
                "          <Param3>param3</Param3>\n" +
                "          <Status>Active</Status>\n" +
                "          <Text>This is a keyword " + Math.random() +"</Text>\n" +
                "        </Keyword>";
        return keywords;

         /*
        String keywords = null;
        for (int i = 0; i < num; i++){

            keywords += "<Keyword>\n" +
                    "          <Bid>\n" +
                    "            <Amount>42</Amount>\n" +
                    "          </Bid>\n" +
                    "          <DestinationUrl>www.yahoo.com</DestinationUrl>\n" +
                    "          <GxKeywordId>12345678</GxKeywordId>\n" +
                    "          <MatchType>Exact</MatchType>\n" +
                    "          <Param1>param1</Param1>\n" +
                    "          <Param2>param2</Param2>\n" +
                    "          <Param3>param3</Param3>\n" +
                    "          <Status>Active</Status>\n" +
                    "          <Text>This is a keyword " + Math.random() +"</Text>\n" +
                    "        </Keyword>";

        }

        return keywords;
        */
    }
}
